package com.jc.photo.model;

import java.io.File;

/**
 * 带评分的媒体文件信息模型
 */
public class RatedMediaFileInfo extends MediaFileInfo {
    private int rating; // 评分，1-10星
    private String fullPath; // 文件完整路径
    
    public RatedMediaFileInfo() {
        super();
    }
    
    public RatedMediaFileInfo(File file) {
        super(file);
        this.fullPath = file.getAbsolutePath();
        // 默认评分初始化为0，表示未评分
        this.rating = 0;
    }
    
    public RatedMediaFileInfo(File file, int rating) {
        super(file);
        this.fullPath = file.getAbsolutePath();
        this.rating = rating;
    }
    
    // Getters and Setters
    public int getRating() {
        return rating;
    }
    
    public void setRating(int rating) {
        this.rating = rating;
    }
    
    public String getFullPath() {
        return fullPath;
    }
    
    public void setFullPath(String fullPath) {
        this.fullPath = fullPath;
    }
}